package signAction;

import signBean.AdminDbManager;

public class AdminDeleteLessonAction {

	private String id[];

	public String execute(){
		AdminDbManager ad = new AdminDbManager();
		if(id==null){
			return "deletelesson";
		}else{
			for(int i=0;i<id.length;i++){
				System.out.println(id[i]);
				ad.deleteLesson(id[i]);
			}
		}	
		return "deletelesson";
	}
	
	public String[] getId() {
		return id;
	}

	public void setId(String[] id) {
		this.id = id;
	}
	
	
}
